import request from '@/utils/request'
export default {
  // 客户端 课程基本信息
  getPageList(page, limit, searchObj) {
    return request({
      url: `/eduservice/coursefront/getCoursePage/${page}/${limit}`,
      method: 'post',
      data: searchObj
    })
  },
  // 获取课程一级二级分类
  getNestedTreeList() {
    return request({
      url: `/eduservice/subject/treeSubject`,
      method: 'get'
    })
  },

  // 客户端课程详情
  getCourseInfo(courseId){
    return request({
      url: `/eduservice/coursefront/getCourseInfo/${courseId}`,
      method:'get'
    })
  }

}